package com.qing.springcloud.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 好友关系表(user_friend)实体类
 *
 * @author zhipeng.cao
 * @since 2025-07-09 20:09:50
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("user_friend")
public class UserFriend extends Model<UserFriend> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
	private Long id;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 好友ID

     */
    private Long friendId;
    /**
     * 关系类型(0:好友,1:拉黑)
     */
    private Integer relationType;
    /**
     * 好友备注
     */
    private String remarkName;
    /**
     * createdAt
     */
    private Date createdAt;

}